Skip to content

[#1013] Implement the Database Adapter 3#1035

Open
marcocapozzoli wants to merge 5 commits intomasc/1013-database-adapter-cpp-2from
masc/1013-database-adapter-cpp-3
Open

[#1013] Implement the Database Adapter 3#1035
marcocapozzoli wants to merge 5 commits intomasc/1013-database-adapter-cpp-2from
masc/1013-database-adapter-cpp-3

Conversation

@marcocapozzoli
Copy link
Collaborator

This PR adds Processors to the database connection. i.e, implement commons/processor/Processor.h

Resolves #1013

@marcocapozzoli marcocapozzoli changed the title [#1013] Implement the Database Adapter [#1013] Implement the Database Adapter 3 Feb 10, 2026
Copy link
Contributor

@andre-senna andre-senna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code inside DBWrapper.{h,cc} is a mess. Although you can define multiple classes in the same files in C++ (and although this is a good choice sometimes) most of the time you should keep one pair of .h and .cc files per class. I suggest you to do it this way here, splitting the classes you create din this file because I believe you are over-templatizing the code.

So please break down this code in multiple files before submitting it to review.

@@ -3,42 +3,59 @@
#include <memory>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please name the file with the name of the main class defined in it: DatabaseWrapper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants